﻿@using ZhouYu.DreamTour.Model;
@using ZhouYu.DreamTour.DAL.Repository;
@using ZhouYu.DreamTour.DAL.IRepository;
@{
     IUserRepository repository = new UserRepository();
     List<Webcolumn> list = repository.QueryColumn(1);
     List<Webcolumn> list2 = repository.QueryColumn(2);
     List<Webcolumn> list3 = repository.QueryColumn(3);
     List<Webcolumn> list4 = repository.QueryColumn(4);
     List<Webcolumn> list5 = repository.QueryColumn(5);
     Website website = repository.QueryWebsite("中国梦想旅游发展有限公司");
        
}
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="~/layui-v2.5.4/layui/css/layui.css" media="all">
    @*@Styles.Render("~/Content/css")*@
    @Scripts.Render("~/bundles/modernizr")
</head>
<body>
    <div class="container body-content">
        @RenderBody()
        <footer>
            <div class="friend_w clearfix">
                <div class="friend clearfix">
                    <table class="layui-hide" id="test"></table>
                    <dl class="friend_dl bg01">
                        <dt id="next1"><b>网站使用流程</b></dt>
                        @foreach (Webcolumn teamInfo in list)
                        {
                            <dd><a href="@teamInfo.WebColumn_Url">@teamInfo.WebColumn_Name</a></dd>
                        }
                    </dl>
                    <dl class="friend_dl bg02">
                        <dt><b>会员中心</b></dt>
                        @foreach (Webcolumn teamInfo in list2)
                        {
                            <dd><a href="@teamInfo.WebColumn_Url">@teamInfo.WebColumn_Name</a></dd>
                        }
                    </dl>
                    <dl class="friend_dl bg03">
                        <dt><b>公司简介</b></dt>
                        @foreach (Webcolumn teamInfo in list3)
                        {
                            <dd><a href="@teamInfo.WebColumn_Url">@teamInfo.WebColumn_Name</a></dd>
                        }
                    </dl>
                    <dl class="friend_dl bg04">
                        <dt><b>合作伙伴</b></dt>
                        @foreach (Webcolumn teamInfo in list4)
                        {
                            <dd><a href="@teamInfo.WebColumn_Url">@teamInfo.WebColumn_Name</a></dd>
                        }
                    </dl>
                    <dl class="friend_dl bg05">
                        <dt><b>旅游查询</b></dt>
                        @foreach (Webcolumn teamInfo in list5)
                        {
                            <dd><a href="@teamInfo.WebColumn_Url">@teamInfo.WebColumn_Name</a></dd>
                        }
                    </dl>
                </div>
            </div>
            <div class="footer_w">
                <div class="footer clearfix">
                    <div class="footer_c">
                        @if (website != null)
                        {
                            <p>地址：@website.Website_Address &nbsp;| &nbsp;服务热线：@website.Website_TelPhone &nbsp; | &nbsp;传真：@website.Website_Fax  备案号：@website.Website_RecordNumber</p>
                            <p>Copyright © 2013 @website.Website_Copyright All Rights Reserved. 技术支持：<a href="#">@website.Website_Technical</a></p>
                        }
                    </div>
                    <div class="f_logo"><img src="~/images/b_logo.jpg"></div>
                </div>
            </div>
        </footer>
    </div>
    @*@Scripts.Render("~/bundles/jquery")
    @Scripts.Render("~/bundles/bootstrap")*@
    @RenderSection("scripts", required: false)

    @*<script src="~/js/jquery-3.3.1.min.js"></script>*@
</body>
</html>
